package com.yaorange.certificate.vo;

import com.yaorange.certificate.domain.NjtCertificate;
import com.yaorange.certificate.domain.NjtUserPerfect;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.annotation.Excels;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NjtCertificateVo extends NjtCertificate
{
    /**
     * 会员完善信息
     */
    private String userPerfectString;
    /**
     * 会员完善信息
     */
    @Excels({
            @Excel(name = "公司名称", targetAttr = "companyName", type = Excel.Type.EXPORT),
            @Excel(name = "手机号码", targetAttr = "mobilePhone", type = Excel.Type.EXPORT),
            @Excel(name = "法人姓名", targetAttr = "legalPersonName", type = Excel.Type.EXPORT),
            @Excel(name = "省", targetAttr = "province", type = Excel.Type.EXPORT),
            @Excel(name = "市", targetAttr = "city", type = Excel.Type.EXPORT),
            @Excel(name = "区/县", targetAttr = "area", type = Excel.Type.EXPORT),
            @Excel(name = "镇/乡", targetAttr = "country", type = Excel.Type.EXPORT),
            @Excel(name = "详细地址", targetAttr = "detailAddress", type = Excel.Type.EXPORT),
    })
    private NjtUserPerfect userPerfect;

}
